package zuoye;

import java.util.Scanner;

public class text_1 {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        System.out.println("输入第一个数");
        double a=sc.nextDouble();
        System.out.println("输入第二个数字");
        double b=sc.nextDouble();
        double c=a+b;
        double d=a-b;
        double e=a*b;
        double g=a/b;
        double f=a%b;
        System.out.println("俩数之和："+c);
        System.out.println("俩数之差："+d);
        System.out.println("俩数之积："+e);
        System.out.println("俩数之商："+f);
        System.out.println("俩数之余："+g);

        }
    }

